Yahoo! chief executive Marissa Mayer has been sued by a former senior executive of the company who has accused her of orchestrating a campaign to purge the organisation of male employees.